### Function Description

After the public script version is launched, the previous online script will be set to offline status, but it will not
affect the use of tasks.

### Request Parameters

#### Interface parameters

| Fields            | Type   | Required | Description              |
|-------------------|--------|----------|--------------------------|
| script_id         | string | yes      | Public script id         |
| script_version_id | long   | yes      | Public script version id |

### Example of request

```json
{
    "script_id": "4537fb49ec0840a1b91cef4179c99f9c",
    "script_version_id": 1000018
}
```

### Example of responses

```json
{
    "code": 0,
    "result": true,
    "data": {
        "id": 1000018,
        "script_id": "4537fb49ec0840a1b91cef4179c99f9c",
        "status": 2
    },
    "job_request_id": "xxx"
}
```

### Response Description

{% include '_generic_response.md.j2' %}

#### data

| Fields    | Type   | Never null | Description                                                               |
|-----------|--------|------------|---------------------------------------------------------------------------|
| script_id | string | yes        | Script id                                                                 |
| id        | long   | yes        | Script version id                                                         |
| status    | int    | yes        | Script version status (0: Not online, 1: Online, 2: Offline, 3: Disabled) |
